﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Irony.Parsing;
using NMF.Languages.AnyText.Transformations;
using NMF.Languages.AnyText.ClassConstruction;

namespace NMF.Languages.AnyText
{
    public abstract class TypedNonTerminal : NonTerminal
    {
        public TypedNonTerminal(string name) : base(name) { }
      
        public abstract TypeReference Type { get; }

        public virtual bool IsComplexType { get { return true; } }
        public virtual bool IsDataType { get { return false; } }

        public PropertyInfo Property { get; set; }
    }
}
